package com.ee.bruscar.ant;

import java.io.File;

import org.apache.tools.ant.Task;

import com.ee.bruscar.generator.StubInterfaceGenerator;

public class DumpsterTask extends Task
{
	private String configFile;
	
	public void setConfigFile(String configFile)
	{
		this.configFile = configFile;
	}
	
	@Override
	public void execute()
	{
		System.out.println("config file: " + configFile );
		StubInterfaceGenerator generator = new StubInterfaceGenerator( new File( configFile ) );
		generator.generate();
	}
}
